package la.iok.hzsvn.lewin.movie.obs;

import java.util.Date;

public class AccessKey implements Expirable {
    private String access;
    private Date expiresAt;
    private String secret;
    private String securityToken;
    /**
     * 区域
     */
    private String region;
    /**
     * 存储桶名称
     */
    private String bucket;
    /**
     * 服务器类型。huawei:华为云OBS tencent:腾讯云COS
     */
    private String serverType;
    @Override
    public Date expireAt() {
        return expiresAt;
    }

    public String getAccess() {
        return access;
    }

    public void setAccess(String access) {
        this.access = access;
    }

    public Date getExpiresAt() {
        return expiresAt;
    }

    public void setExpiresAt(Date expiresAt) {
        this.expiresAt = expiresAt;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getSecurityToken() {
        return securityToken;
    }

    public void setSecurityToken(String securityToken) {
        this.securityToken = securityToken;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getServerType() {
        return serverType;
    }

    public void setServerType(String serverType) {
        this.serverType = serverType;
    }
}
